package com.fs.ssm004.Dao;

import com.fs.ssm004.pojo.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface CourseDao {
    List<Course> queryAll();
    int insertById(Course course);
    int updateById(Course course);
    int deleteById(Course course);

    Course queryById(Integer c_id);

    List<Course> queryByName(@Param("className") String className);
}
